package com.chey.service.impl;

import com.chey.dao.RoleDao;
import com.chey.domain.Role;
import com.chey.service.RoleService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleDao dao;
    @Override
    public List<Role> selectByUserId(Integer uid) {
        return dao.selectByUserId(uid);
    }
}
